<?php
/***************
* @Project	52fang.net
* @Author	Feifei
* @Date		04/06/2010
***************/

/***database config****/
$wbDBserver = '127.0.0.1';
$wbDBuser = 'root';
$wbDBpassword = 'admin';
$wbDBname = '52fang';
$wbDBport = '3306';


/***table config***/
define("__table_agentlist__" , "agentlist");
define("__table_userlist__" , "userlist");
define("__table_sellhouse__" , "sellhouse");
define("__table_renthouse__" , "renthouse");
define("__table_plaza__" , "plaza");
define("__table_message__" , "fsmessage");
define("__table_collection__" , "collection");
define("__table_kfslist__" , "kfslist");
define("__table_fwdklist__" , "fwdklist");
define("__table_fwzhlist__" , "fwzhlist");
define("__table_fwjjlist__" , "fwjjlist");
define("__table_qghouse__" , "qghouse");
define("__table_qzhouse__" , "qzhouse");





/**message response for errors***/
define("register_error1" , "中介信息已存在，请重新输入。");
define("register_error2" , "您的手机号已经注册过个人用户，请重新输入。");
define("dpf_teladd_error_tel" , "The DPF phone number is missing.");
define("dpf_teladd_error_dev" , "The DPF device id is missing.");
define("dpf_teladd_error_model" , "The DPF model name is missing.");
define("dpf_teladd_error_minw" , "The DPF min width is missing.");
define("dpf_teladd_error_minh" , "The DPF min height is missing.");
define("dpf_teladd_error_defw" , "The DPF def width is missing.");
define("dpf_teladd_error_defh" , "The DPF def height is missing.");

$errormsg = array(
	"error1" => "中介信息已存在，请重新输入。",
	"error2" => "您的手机号已经注册过个人用户，请重新输入。",
	"error3" => "注册登录之后即可查看详情。",
	"error4" => "用户名或密码不正确，请检查"
);

//其他服务商对应的表
$albumTable = array(
	"0" => __table_agentlist__,
	"1" => __table_userlist__,
	"2" => __table_kfslist__,
	"3" => __table_fwdklist__,
	"4" => __table_fwzhlist__,
	"5" => __table_fwjjlist__
);
//define("albumTable" , $albumTable);

//用户类型hash
$userType = array(
	"0" => "中介",
	"1" => "个人",
	"2" => "房产开发商",
	"3" => "贷款服务商",
	"4" => "装潢服务商",
	"5" => "家居服务商"
);
/**response message **/
define("success_response" , "HTTP/1.1 201 OK");
define("error_url_param_missing" , "HTTP/1.1 400 Bad Request");
define("error_autorized_header" , "HTTP/1.1 401 Unauthorized");
define("error_xml_element_missing" , "HTTP/1.1 403 Forbidden");
define("error_xml_structure","HTTP/1.1 406 Not Acceptable");
define("error_server_system","HTTP/1.1 500 Internal Server Error");

/*** get config ****/








?>